﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_notes.aspx.cs" Inherits="admin_admin_notes" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="heb"  dir="rtl">
<head id="Head1" runat="server">
    <link rel="shortcut icon" type="image/jpg" href="../images/logo/logo_feas.jpg" />
  <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>


<%--<script type='text/javascript'>
    $(function () {
        var overlay = $('<div id="overlay"></div>');
        overlay.show();
        overlay.appendTo(document.body);
        $('.popup').show();
        $('.close').click(function () {
            $('.popup').hide();
            overlay.appendTo(document.body).remove();
            return false;
        });

        $('.x').click(function () {
            $('.popup').hide();
            overlay.appendTo(document.body).remove();
            return false;
        });
    });

</script>--%>
<title>Real estate</title>


<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox16").hide();
        $("#DropDownList20").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox16").show();
            }
            else {
                $("#TextBox16").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox46").hide();
        $("#DropDownList32").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox46").show();
            }
            else {
                $("#TextBox46").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox47").hide();
        $("#DropDownList50").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox47").show();
            }
            else {
                $("#TextBox47").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox15").hide();
        $("#DropDownList15").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox15").show();
            }
            else {
                $("#TextBox15").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox45").hide();
        $("#DropDownList24").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox45").show();
            }
            else {
                $("#TextBox45").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox4").hide();
        $("#d6").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox4").show();
            }
            else {
                $("#TextBox4").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox27").hide();
        $("#DropDownList10").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox27").show();
            }
            else {
                $("#TextBox27").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox4").hide();
        $("#d6").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox4").show();
            }
            else {
                $("#TextBox4").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox34").hide();
        $("#DropDownList11").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox34").show();
            }
            else {
                $("#TextBox34").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox8").hide();
        $("#DropDownList36").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox8").show();
            }
            else {
                $("#TextBox8").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox20").hide();
        $("#DropDownList16").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox20").show();
            }
            else {
                $("#TextBox20").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox5").hide();
        $("#DropDownList42").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox5").show();
            }
            else {
                $("#TextBox5").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox7").hide();
        $("#DropDownList43").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox7").show();
            }
            else {
                $("#TextBox7").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox9").hide();
        $("#DropDownList37").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox9").show();
            }
            else {
                $("#TextBox9").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox19").hide();
        $("#DropDownList48").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox19").show();
            }
            else {
                $("#TextBox19").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox11").hide();
        $("#DropDownList39").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox11").show();
            }
            else {
                $("#TextBox11").hide();
            }

        });
    });
</script>
<!--<script type="text/javascript" src="../js/sticky_footer.js"></script>-->
<link rel="stylesheet" type="text/css" href="../css/master.css"/>
<link rel="stylesheet" type="text/css" href="../css/dropBox.css"/>
<link rel="stylesheet" type="text/css" href="../css/menu.css"/>
<link rel="stylesheet" type="text/css" href="../css/tooltip.css"/>
<link rel="stylesheet" type="text/css" href="../css/buttons.css"/>
<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
   

<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address1").hide();
        $("#DropDownList2").change(function () {

            var x = $(this).val();

            if (x == "Yes") {
                $("#student_permanent_address1").show();
            }
            else {
                $("#student_permanent_address1").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox8").hide();
        $("#DropDownList11").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox8").show();
            }
            else {
                $("#TextBox8").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox15").hide();
        $("#DropDownList25").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox15").show();
            }
            else {
                $("#TextBox15").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox10").hide();
        $("#DropDownList15").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox10").show();
            }
            else {
                $("#TextBox10").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox7").hide();
        $("#DropDownList12").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox7").show();
            }
            else {
                $("#TextBox7").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox4").hide();
        $("#DropDownList7").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox4").show();
            }
            else {
                $("#TextBox4").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address2").hide();

        $("#DropDownList1").change(function () {

            var x = $(this).val();
            if (x == "Yes") {
                $("#student_permanent_address2").show();
            }
            else {
                $("#student_permanent_address2").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#txttoilets").hide();
        $("#DropDownList19").change(function () {

            var x = $(this).val();
            if (x == "Custom") {
                $("#txttoilets").show();
            }
            else {
                $("#txttoilets").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#txtfurniture").hide();
        $("#DropDownList18").change(function () {

            var x = $(this).val();
            if (x == "Custom") {
                $("#txtfurniture").show();
            }
            else {
                $("#txtfurniture").hide();
            }

        });
    }); 
</script>

 <script type="text/javascript">

     $(document).ready(function () {
         $("#txtpark").hide();
         $("#ddlparking").change(function () {

             var x = $(this).val();
             if (x == "Custom") {
                 $("#txtpark").show();
             }
             else {
                 $("#txtpark").hide();
             }

         });
     });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#cr").hide();
        $("#Button1").click(function () {


            $("#cr").show();


        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#Div19").hide();
        $("#DropDownList28").change(function () {

            var x = $(this).val();

            if (x == "Custom type") {
                $("#Div19").show();
            }
            else {
                $("#Div19").hide();
            }

        });
    });
</script> 

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox2").hide();
        $("#DropDownList56").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox2").show();
            }
            else {
                $("#TextBox2").hide();
            }

        });
    });
</script>
<link href="../css/datepicker.css" rel="stylesheet" type="text/css" />
   <style>
    #content 
    {
        	min-height:550px;
	background-color: #FFFFFF;
	background-image: url(../images/bg/contentbg.png);
	min-width: 82%;
	margin-right:221px;
	height:100%;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
    }
    #leftcolumn {
	float: right;
	width: 220px;
	margin-left: -100%;
	min-height:550px;
	background-color: #FFF;
	background-image: url(../images/bg/sidebarbg.png);
	
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
	height:100%;
	
}

.form_placeholder_std table td {width: 60px;
        }
    </style>
</head>
<body>
<form id="form_std_register" class="form_control" runat="server" 
    enctype="multipart/form-data">
 <input type="hidden" id="hdClient" runat="server" />

<div id="wrapper">
<div id="header"><a href="#"> <img src="../images/logo/logo_feas.png" alt="Logo" style="margin-top:7px;margin-left:7px;float:left;"> <img src="../images/logo/logo_feas2.png" alt="Logo" class="logo"></a>
    <div id="metaphors" align="right">
   
      
      <li id="btntheme"><a href="#"><span class="theme_icon"></span>Theme<span class="arrow"></span></a></li>
      <img src="../images/face1.png" class="user_icon">
      <li id="btnUser"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:label ID="Label1" runat="server" text="Label"></asp:label><span class="arrow"></span></a></li>
      <li><span class="logout_icon"></span>
          <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Logout</asp:LinkButton></li>
      <div id="box3" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">email</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">email</div>
        </div>
      </div>
      <div id="box2" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">alert</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">alert</div>
        </div>
      </div>
      <div id="box1" class="outerbox">
        <div id="box_inner1" class="innerbox">
          <div class="user_option1">
            <h4 class="opt_heading">Menu Bar</h4>
            <span id="show_menu" class="style">on</span><span id="hide_menu" class="style2">off</span></div>
        </div>
      </div>
      <div id="box" class="outerbox">
        <div id="box_inner" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">Edit Profile</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">Change Password</div>
        </div>
      </div>
    </div>
    <!--End of the metaphor tag--> 
    
  </div>
  <!--End of the Header tag-->
  <div id="contentliquid">
    <div id="content">
      <div id="titalbar">
        <h1 style="float:right" >Task Notes</h1>
        
      </div>
      <div id="content_placeholder">
      <div id="Div3" class="form_placeholder_std">
            <div id="Div4" class="form_title"><img src="../images/icons/form.png">
              <h2>Task notes</h2>
            </div>
               <table style="text-align:right">
              <tr>
                <td rowspan="2" >סטטוס עסקה</td>
                <td><script type="text/javascript">

                        $(document).ready(function () {
                            $("#TextBox57").hide();
                            $("#DropDownList4").change(function () {

                                var x = $(this).val();
                                if (x == "Custom") {
                                    $("#TextBox57").show();
                                }
                                else {
                                    $("#TextBox57").hide();
                                }

                            });
                        });
</script>
          
                   <asp:DropDownList ID="DropDownList4" runat="server" CssClass ="combobox " 
                        >
                       <asp:ListItem>בחר</asp:ListItem>
                  <asp:ListItem>בלעדיות</asp:ListItem>
                  <asp:ListItem>בהסכמה</asp:ListItem>
                  <asp:ListItem>נמכר\הושכר</asp:ListItem>
                  <asp:ListItem>פרסום\מודעת נדל"ן</asp:ListItem>
                  <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                    </asp:DropDownList>
                
                </td>
                  
            
                
         
               
         
                <td rowspan="2">דירוג</td>
                <td>
                <script type="text/javascript">

                    $(document).ready(function () {
                        $("#TextBox59").hide();
                        $("#DropDownList53").change(function () {

                            var x = $(this).val();
                            if (x == "Custom") {
                                $("#TextBox59").show();
                            }
                            else {
                                $("#TextBox59").hide();
                            }

                        });
                    });
</script>
                <asp:DropDownList ID="DropDownList53" runat="server"><asp:ListItem>Select</asp:ListItem>
                 <asp:ListItem>בחר</asp:ListItem>
                 <asp:ListItem>דחוף מאוד</asp:ListItem>
                        <asp:ListItem>דחוף</asp:ListItem>
                        <asp:ListItem>מוכן</asp:ListItem>
                        <asp:ListItem>קר</asp:ListItem>
                        <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                    </asp:DropDownList>
                    
                       </td>
              
                <td>מפנה</td>
                <td>

                <script type="text/javascript">

                    $(document).ready(function () {
                        $("#TextBox60").hide();
                        $("#DropDownList55").change(function () {

                            var x = $(this).val();
                            if (x == "Custom") {
                                $("#TextBox60").show();
                            }
                            else {
                                $("#TextBox60").hide();
                            }

                        });
                    });
</script>

                    <asp:DropDownList ID="DropDownList55" runat="server">
                     <asp:ListItem>בחר</asp:ListItem>
                        <asp:ListItem>מודעת אינטרנט</asp:ListItem>
                        <asp:ListItem>מנועי חיפוש</asp:ListItem>
                        <asp:ListItem>עיתון ארצי</asp:ListItem>
                        <asp:ListItem>עיתון מקומי</asp:ListItem>
                        <asp:ListItem> חבר \ משפחה</asp:ListItem>
                        <asp:ListItem>לקוח חוזר</asp:ListItem>
                        <asp:ListItem>דרך לקוח</asp:ListItem>
                        <asp:ListItem>עבודת שטח</asp:ListItem>
                        <asp:ListItem>מאגר נתונים נדל"ן</asp:ListItem>
                        <asp:ListItem>שיתוף פעולה עם מתווך\סוכן נדל"ן</asp:ListItem>
                        <asp:ListItem>אישי</asp:ListItem>
                        <asp:ListItem>שילוט</asp:ListItem>
                        <asp:ListItem>דרך המשרד</asp:ListItem>
                        <asp:ListItem>ברושור\ פליירים</asp:ListItem>
                        <asp:ListItem>בית פתוח</asp:ListItem>
                        <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                    </asp:DropDownList>
                     </td>
                     </tr>
                     <tr>
                <td>
                    <asp:TextBox ID="TextBox59" runat="server"></asp:TextBox>
                         </td>
                <td>
                    <asp:TextBox ID="TextBox60" runat="server"></asp:TextBox>
                     </td>
                    
             

                <td>לעשות</td>
                    
             

                <td rowspan="2"> 
                
                 <asp:DropDownList ID="DropDownList28" runat="server" 
                     style="float:right;margin-top:0px;"   CssClass="combobox"  onChange="show_pnl()"
                     ClientIDMode="Static" 
                         ><asp:ListItem>בחר</asp:ListItem>
                    <asp:ListItem>עדכון כללי</asp:ListItem>
                   <asp:ListItem>שיחה</asp:ListItem>
                   <asp:ListItem>נקבעה פגישה</asp:ListItem>
                   <asp:ListItem>לקבוע פגישה</asp:ListItem>
                   <asp:ListItem>להתקשר</asp:ListItem>
                   <asp:ListItem>להגיע למשרד</asp:ListItem>
                   <asp:ListItem>ראה</asp:ListItem>
                    <asp:ListItem>פרזנטציה\מצגת</asp:ListItem>
                   <asp:ListItem>גיוס</asp:ListItem>
                   <asp:ListItem>נחתם</asp:ListItem>
                   <asp:ListItem>בלעדיות</asp:ListItem>
                   <asp:ListItem>הסתיים</asp:ListItem>
                   <asp:ListItem>להראות נכס</asp:ListItem>
                   <asp:ListItem>לשלוח מייל</asp:ListItem>
                   <asp:ListItem>לשלוח הדעת טקסט</asp:ListItem>
                   <asp:ListItem>ממתין לתשלום</asp:ListItem>
                   <asp:ListItem>לא רוצה לשלם</asp:ListItem>
                   <asp:ListItem>נבדק</asp:ListItem>
                   <asp:ListItem>עמלה שולמה</asp:ListItem>
                   <asp:ListItem>בית פתוח</asp:ListItem>
                    <asp:ListItem>שיתוף פעולה</asp:ListItem>
                   <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                
		 </asp:DropDownList></td>
                <td> 
                
                
                <script type="text/javascript">

                    $(document).ready(function () {
                        $("#TextBox61").hide();
                        $("#DropDownList28").change(function () {

                            var x = $(this).val();

                            if (x == "Custom") {
                                $("#TextBox61").show();
                            }
                            else {
                                $("#TextBox61").hide();
                            }

                        });
                    });
</script> 
                
                         </td>

    
         </tr>   
<tr>            
               <td rowspan="2">סטטוס</td>
                <td rowspan="2"> <asp:DropDownList ID="DropDownList29" runat="server" 
                     style="float:right;margin-top:0px;"   CssClass="combobox" 
                     ClientIDMode="Static" >
                      <asp:ListItem>בחר</asp:ListItem>
                    <asp:ListItem>מו"מ</asp:ListItem>
                   <asp:ListItem>פתוח</asp:ListItem>
                   <asp:ListItem>הושלם</asp:ListItem>
           
           
                
		 </asp:DropDownList></td>  <td rowspan="2">יום שלם</td>
                <td rowspan="2"> <asp:DropDownList ID="DropDownList30" runat="server" 
                     style="float:right;margin-top:0px;"   CssClass="combobox" 
                     ClientIDMode="Static" >   <asp:ListItem>בחר</asp:ListItem>
                    <asp:ListItem>לא</asp:ListItem>
                   <asp:ListItem>כן</asp:ListItem>
                
		 </asp:DropDownList></td> 
              </tr>
             
<tr>
                <td>  
                    <asp:TextBox ID="TextBox61" runat="server"></asp:TextBox>
                </td>
  
                
               
                   
              </tr>
             
               </table>
              
          
          </div>
          <div id="Div19" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="Div20" class="form_title"><img src="../images/icons/email.png">
              <h2>Subject information</h2>
            </div>
            <table style="text-align:right">
              <tr>
                <td >Custom Subject  <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcatname" runat="server" ClientIDMode="Static" CssClass="validate[optional]"></asp:TextBox></td>
              
                                
            </table>
			
          </div>
      <style type="text/css">
.modalBackground
{
background-color: Gray;
filter: alpha(opacity=80);
opacity: 0.8;
z-index: 10000;
}

.GridviewDiv {font-size: 100%; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, Helevetica, sans-serif; color: #303933;}
Table.Gridview{border:solid 1px #df5015;}
.Gridview th{color:#FFFFFF;border-right-color:#abb079;border-bottom-color:#abb079;padding:0.5em 0.5em 0.5em 0.5em;text-align:center}
.Gridview td{border-bottom-color:#f0f2da;border-right-color:#f0f2da;padding:0.5em 0.5em 0.5em 0.5em;}
.Gridview tr{color: Black; background-color: White; text-align:left}
:link,:visited { color: #DF4F13; text-decoration:none }

</style>
          
         
          <div id="student_submit" class="form_placeholder_std" style="margin-top:0;border-top:none;border-bottom:none;">
            <div id="student_title4" class="form_title">
              <div style="margin-left:27px;margin-top:2px;">
                   <asp:Button ID="Search" runat="server" Text="Search" 
                       CssClass="btn btn-success"/>
                
              </div>
            </div>
          </div>
          
         
          <div id="student_permanent_address2" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Search Results</h2>
            </div>
           <asp:Label ID="Label4" runat="server" Text="Label" Visible="false"></asp:Label><asp:Label ID="Label5"
                   runat="server" Text="Label" ></asp:Label>
            
</div>
<div>

              
            <div>
              
                <asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" 
                    CssClass="mGrid" onrowcommand="GridView1_RowCommand" 
                    AutoGenerateColumns="False" AllowPaging="True" >
                    <Columns>
                      <asp:ButtonField ButtonType="Image" CommandName="view" Text="View" 
                            HeaderText="Documents" ImageUrl="../admin/Assets/img/pencil.gif" />
                        <asp:BoundField DataField="action_" HeaderText="Action" 
                            SortExpression="action_" />
                        <asp:BoundField DataField="p_id" HeaderText="Property ID" 
                            SortExpression="p_id" />
                        <asp:BoundField DataField="t_id" HeaderText="t_id" SortExpression="t_id" Visible="false" />
                        <asp:BoundField DataField="deal_status" HeaderText="Deal Status" 
                            SortExpression="deal_status" />
                        <asp:BoundField DataField="created" HeaderText="Created" 
                            SortExpression="created" />
                        <asp:BoundField DataField="update_" HeaderText="Updated" 
                            SortExpression="update_" />
                        <asp:BoundField DataField="min_" HeaderText="Minute" SortExpression="min_" />
                        <asp:BoundField DataField="hrs" HeaderText="Hours" SortExpression="hrs" />
                        <asp:BoundField DataField="fast_reminder" HeaderText="Fast Reminder" 
                            SortExpression="fast_reminder" />
                        <asp:BoundField DataField="day_" HeaderText="Day" SortExpression="day_" />
                        <asp:BoundField DataField="hr" HeaderText="Hour" SortExpression="hr" />
                        <asp:BoundField DataField="min1" HeaderText="Minutes" SortExpression="min1" />
                        <asp:BoundField DataField="agent" HeaderText="Agent" SortExpression="agent" />
                        <asp:BoundField DataField="sec_agent" HeaderText="Sec. Agent" 
                            SortExpression="sec_agent" />
                        <asp:BoundField DataField="rank" HeaderText="Rank" SortExpression="rank" />
                        <asp:BoundField DataField="cust_rank" HeaderText="Custom RanK" 
                            SortExpression="cust_rank" />
                        <asp:BoundField DataField="commission" HeaderText="Commission" 
                            SortExpression="commission" />
                        <asp:BoundField DataField="sig" HeaderText="Sign" SortExpression="sig" />
                        <asp:BoundField DataField="refer" HeaderText="Refer" 
                            SortExpression="refer" />
                        <asp:BoundField DataField="cust_refer" HeaderText="Custom Refer" 
                            SortExpression="cust_refer" />
                        <asp:BoundField DataField="comment" HeaderText="Comment" 
                            SortExpression="comment" />
                        <asp:BoundField DataField="terms" HeaderText="Terms" 
                            SortExpression="terms" />
                        <asp:BoundField DataField="to_do" HeaderText="To Do" 
                            SortExpression="to_do" />
                        <asp:BoundField DataField="cus_to_do" HeaderText="Custom To do" 
                            SortExpression="cus_to_do" />
                        <asp:BoundField DataField="status_" HeaderText="Status" 
                            SortExpression="status_" />
                        <asp:BoundField DataField="full_day" HeaderText="Full Day" 
                            SortExpression="full_day" />
                        <asp:BoundField DataField="to_do_msg" HeaderText="To do Message" 
                            SortExpression="to_do_msg" />
                        <asp:BoundField DataField="to_do_date" HeaderText="To Do Date" 
                            SortExpression="to_do_date" />
                        <asp:BoundField DataField="to_hr" HeaderText="To Hours" SortExpression="to_hr" />
                        <asp:BoundField DataField="to_min" HeaderText="To Minutes" 
                            SortExpression="to_min" />
                        <asp:BoundField DataField="added_by" HeaderText="Added By" 
                            SortExpression="added_by" />
                              <asp:ButtonField ButtonType="Image" CommandName="action" HeaderText="Delete" 
                                ImageUrl="../images/1378645348_new-24.png" Text="Button" />
                    </Columns>
                </asp:GridView>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                    SelectCommand="SELECT * FROM [task] WHERE (([deal_status] = @deal_status) OR ([status_] = @status_) OR ([rank] = @rank) OR ([full_day] = @full_day) OR ([refer] = @refer) OR ([to_do] = @to_do))">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="DropDownList4" Name="deal_status" 
                            PropertyName="SelectedValue" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList29" Name="status_" 
                            PropertyName="SelectedValue" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList53" Name="rank" 
                            PropertyName="SelectedValue" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList30" Name="full_day" 
                            PropertyName="SelectedValue" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList55" Name="refer" 
                            PropertyName="SelectedValue" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList28" Name="to_do" 
                            PropertyName="SelectedValue" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
              
               </div>
          </div>

               
           
   
                    
        
           
		  
          

             
             
<div>

</div>
           
           
          
          

         
         
      </div>
    </div>
  </div>
  
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.min.js"></script>
<script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/utility.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->
<script src="../js/bootstrap-modal.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->

 <div id="leftcolumn">
 <div id="leftcolumn_top">
      <div id="createform" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Create Form</h1>
        </div>
        <div class="modal-body">
        <table id="tbl_task" class="model_popup_desgin">
  <tr>
    <td><p> You have a recent&nbsp;&nbsp&nbsp;&nbsp;update on date</p></td>
  </tr>
  <tr>
     
   
  </tr>
  <tr>
      
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button2" runat="server" Text="cancel" 
                CssClass="btn btn-success" Visible="False" />
             <p><a data-toggle="modal" href="#addtask1" class="btn btn-success" style="font-weight:bold;"><img src="../images/icons/task.png" style="margin-right:7px;" />View</a></p></div>
      </div>
       <div id="addtask1" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body1">
        <table id="Table1" class="model_popup_desgin">
  <tr>
    <td>Date of Creation</td>
    <td><p><asp:Label ID="Label2" runat="server" Text="Label" Visible="False"></asp:Label></p></td>
  </tr>
     <tr>
    <td>Last Updated Updated</td>
    <td><p><asp:Label ID="Label3" runat="server" Text="Label"></asp:Label></p></td>
  <td>Choose Agent</td>
      <asp:DropDownList ID="DropDownList3" runat="server" CssClass ="combobox " 
                Visible="False">
      </asp:DropDownList>
 
     
  <tr>
    <td>Add Another Agent</td>
       <asp:TextBox ID="TextBox1" runat="server" Visible="False"></asp:TextBox>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button3" runat="server" Text="cancel" CssClass="btn btn-success" />
            </div>
      </div>
      
 </div>
        <ul id="nav" style=" text-align:right">
      <li><a href="dashboard.aspx"><img src="../images/icons/home.png" class="menu_icon">לוח בקרה</a> </li>   
       <li><a href="#"><img src="../images/icons/form.png" class="menu_icon">להשכרה</a>
        <ul>
          <li><a href="report_property_for_rent.aspx"><img src="../images/icons/tabs.png" class="menu_icon"> נכס להשכרה</a></li> <li><a href="search_property_torent.aspx"><img src="../images/icons/tabs.png" class="menu_icon"> לקוח רוצה לשכור</a></li>
        </ul></li>
        <li><a href="search_buy_property.aspx"><img src="../images/icons/form.png" class="menu_icon">לקוח רוצה לקנות</a>
       </li>
     
         <li><a href="searh_sell_property.aspx"><img src="../images/icons/form.png" class="menu_icon">נכס למכירה</a>
  
          <li><a href="#"><img src="../images/icons/std2.png" class="menu_icon"> סוכן</a>
        <ul>
          <li><a href="add_agent.aspx"><img src="../images/icons/plus.png" class="menu_icon">Agent add</a></li>
         
          <li><a href="deleteagent.aspx"> <img src="../images/icons/trash.png" class="menu_icon">Delete Agent</a></li>
          <li><a href="agentreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Agent Edit/Reports</a></li>
        </ul>
      </li>
  
      <li><a href="admin_notes.aspx"><img src="../images/icons/search.png" class="menu_icon">משימות</a>
    
      </li>
       <li><a href="#"><img src="../images/icons/id.png" class="menu_icon">פרטי חשבון</a>
        <ul>
          <li><a href="admin_account_information.aspx"><img src="../images/icons/id.png" class="menu_icon">Update Account Details</a></li>
         
          
        </ul>
      </li>
       <li><a href="messages1.aspx"><img src="../images/icons/id.png" class="menu_icon">הודעות</a>
        
      </li></div>
  


   <div id="footer">
    <p> Copyright &copy; 2013. <a href="http://www.iitechnology.in">iITechnology</a></p>
  </div>

</div>
 <script language="javascript">
     function ValidateFile(source, args) {
         try {
             var fileAndPath =
           document.getElementById(source.controltovalidate).value;
             var lastPathDelimiter = fileAndPath.lastIndexOf("\\");
             var fileNameOnly = fileAndPath.substring(lastPathDelimiter + 1);
             var file_extDelimiter = fileNameOnly.lastIndexOf(".");
             var file_ext = fileNameOnly.substring(file_extDelimiter + 1).toLowerCase();
             if (file_ext != "jpg") {
                 args.IsValid = false;
                 if (file_ext != "gif")
                     args.IsValid = false;
                 if (file_ext != "png") {
                     args.IsValid = false;
                     return;
                 }
             }
         } catch (err) {
             txt = "There was an error on this page.\n\n";
             txt += "Error description: " + err.description + "\n\n";
             txt += "Click OK to continue.\n\n";
             txt += document.getElementById(source.controltovalidate).value;
             alert(txt);
         }

         args.IsValid = true;
     }
    </script>
      
</form>
<script type="text/javascript" src="../js/zebra_datepicker.js"></script>
     
                <script type="text/javascript">
                    window.onload = function () {
                        GetDate();
                    };
                    function GetDate() {
                        var dt = new Date();
                        var dd;
                        var mm;
                        var yyyy;
                        var date;
                        var month;
                        hh = dt.getHours();
                        mi = dt.getMinutes();
                        mk = dt.getTime();
                        dd = dt.getDate();
                        mm = dt.getMonth() + 1;


                        document.getElementById('txtdate').value = dd + '/' + mm + '/' + dt.getFullYear() + ' ' + hh + '.' + mi;

                    }
</script>
</body>
</html>